package com.woniuxy.productdao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 冉杰
 * @since 2024-01-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("coach_reserv")
public class CoachReserv implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 预约id
     */
    @TableId(value = "coach_reserv_id", type = IdType.AUTO)
    private Integer coachReservId;

    /**
     * 私教产品id
     */
    @TableField("coach_product_id")
    private Integer coachProductId;

    /**
     * 教练id
     */
    @TableField("coach_id")
    private Integer coachId;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 用户姓名
     */
    @TableField("user_name")
    private String userName;

    /**
     * 用户电话
     */
    @TableField("user_phone")
    private String userPhone;

    /**
     * 反馈信息
     */
    @TableField("message")
    private String message;

    /**
     * 预约状态 0拒绝 1预约中 2同意 3取消预约
     */
    @TableField("reserv_state")
    private String reservState;


}
